//
//  PhotoSelectManager.h
//  TestPinBang
//
//  Created by Hepburn Alex on 13-5-30.
//  Copyright (c) 2013年 Hepburn Alex. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "TZImagePickerController.h"
#import "TZImageManager.h"
#import "TZLocationManager.h"
@class UIPopoverController;

@interface PhotoSelectManager : NSObject<UIImagePickerControllerDelegate, UINavigationControllerDelegate,TZImagePickerControllerDelegate> {
    int miWidth;
    int miHeight;
    BOOL mbEdit;
    UIActivityIndicatorView *mActView;
}

@property (nonatomic, strong) UIImagePickerController *imagePickerVc;
@property (nonatomic, assign) UIViewController *mRootCtrl;
@property (nonatomic, assign) int maxImagesCount;
@property (nonatomic, assign) int miWidth;
@property (nonatomic, assign) int miHeight;
@property (nonatomic, assign) BOOL mbEdit;
@property (nonatomic, assign) float mQuality;
@property (strong, nonatomic) CLLocation *location;
@property (nonatomic, copy)void(^PhotoFinishBlock)(NSArray *array);

@property (nonatomic, retain) UIPopoverController *popoverController;

//打开相机
- (void)takePhoto;

//打开相册
-(void)TakeAlbum;
-(void)delectImageWithIndex:(NSInteger)index;

@end
